<%--
  Created by IntelliJ IDEA.
  User: Yancyxiaoone
  Date: 2022/12/14
  Time: 22:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>
</head>
<script>
    function fun() {
        window.location.href = 'show.jsp';
    }
</script>
<body>
<form action="update" method="post">
    汽车的id:<input type="text" name="id" value="${list[param.index].car_id }" readonly="readonly" /><br/>
    汽车的name:<input type="text" name="name" value="${list[param.index].car_name }"><br/>
    汽车的type:<input type="text" name="type" value="${list[param.index].car_type }"><br/>
    汽车的price:<input type="text" name="price" value="${list[param.index].car_price }"><br/>
    <input type="submit" value="保存"><input type="button" value="取消" onclick="fun()">
</form>
</body>
</html>
